// JavaScript Document

function getContextPath() {
    var pathName = document.location.pathname;
    var index = pathName.substr(1).indexOf("/");
    var result = pathName.substr(0,index+1);
    return result;
}

$(function(){
    var contextPath=getContextPath();
	$("#cssStyle").attr("href",contextPath+"/skin/skin0/style.css");
	$("#cssStyle_dialog").attr("href",contextPath+"/skin/skin0/style.css");
})
